<template>
  <div class="page-search">
    <div class="page-search-layout hairlines">
      <div class="navbar-wrap">
        <div class="Navbarold">
          <nav>
            <div class="navbar-logo">
              <a class="navbar-back" href="javascript:history.back();"></a>
            </div>
            <div class="navbar-title">泽枫影城</div>
            <div class="navbar-button"></div>
          </nav>
        </div>
      </div>

      <div class="page-content search-theme-default">
        <div class="search-wrapper" data-search-type="movie">
          <div class="search-header">
            <div class="input-wrapper">
              <img
                class="img noneBg page-search-search-icon"
                alt=""
                src="//s0.meituan.net/bs/myfe/canary/file/apollo/images/search.png"
              />
              <input
                @keyup.delete="inputHandler"
                type="text"
                class="page-search-search-input"
                placeholder="搜电影、搜影院"
                v-model="search_value"
                @input="inputHandler"
              />
              <img
                v-show="closeIcon_toggle"
                @click="closeIconHandler"
                class="del-input"
                src="//s0.meituan.net/bs/?f=myfe/canary:/static/deploy/images/close.png"
                alt=""
              />
            </div>
            <div class="cancel" @click="$router.go(-1)">取消</div>
          </div>
          <div class="search-result" style="display: block">
            <div class="result-wrapper">
              <div class="no-result" v-show="!(films_arr.length||cinemas_arr.length)">
                <img
                  class="img noneBg"
                  alt=""
                  src="//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/nothing.png"
                />
                <p>没有找到相关内容</p>
              </div>
              
              <div class="result" v-if="films_arr.length">
                <h3>电影/电视剧/综艺</h3>
                <div class="list">
                  <router-link
                    tag="div"
                    :to="'/detail/' + i.filmId"
                    class="movie cell"
                    v-for="i in films_arr"
                    :key="i.filmId"
                    :data-id="i.filmId"
                  >
                    <img class="poster" :src="i.poster" alt="" />
                    <div class="info">
                      <div class="name-score">
                        <p class="name">
                          <span class="one-line">{{ i.name }}</span
                          ><span
                            :class="
                              'version' +
                              ' v' +
                              i.filmType.name.toLocaleLowerCase() +
                              ' imax'
                            "
                          ></span>
                        </p>
                        <span class="wish" v-if="i.sell == '待映'">
                          <span class="num">{{ i.filmId }}</span
                          >人想看
                        </span>
                        <span class="wish" v-if="i.sell == '热映'">
                          <span class="num">{{ i.grade }}</span
                          >分
                        </span>
                      </div>
                      <div class="detail-section">
                        <div class="detail-items">
                          <p class="ename one-line">Ze Feng Movie</p>
                          <p class="catogary">
                            {{ i.category.replace(/\|/g, ",") }}
                          </p>
                          <p class="release">
                            {{ i.premiereAt | setTime_filter }}
                          </p>
                        </div>
                        <router-link
                          v-if="i.sell == '待映'"
                          class="link btn toggle-wish-btn"
                          data-event=""
                          data-wishst="0"
                          data-movieid="1324669"
                          :to="'/detail/' + i.filmId"
                          ><span class="fix">想看</span></router-link
                        >
                        <router-link
                          :to="'/film/' + i.filmId + '/cinames'"
                          v-if="i.sell == '热映'"
                          class="link buy-btn"
                          data-event="_cinema_movie_1446115?_v_=yes&amp;cityId=220"
                          style="
                            background-color: rgb(240, 61, 55);
                            box-shadow: rgba(240, 61, 55, 0.15) 0px 0.04rem
                              0.04rem 0px;
                          "
                          >购票</router-link
                        >
                      </div>
                    </div>
                  </router-link>
                </div>
                <a class="link more-result" data-target="movies">{{
                  "查看全部" + filmstotal + "部影视剧"
                }}</a>
              </div>
              <div class="result" v-if="cinemas_arr.length">
                <h3>影院</h3>
                <div class="list">
                  <router-link
                    tag="div"
                    :to="'/cinema/' + i.cinemaId + '/film'"
                    class="cinema cell"
                    v-for="i in cinemas_arr.slice(0, 2)"
                    :key="i.cinemaId"
                    :data-id="i.cinemaId"
                  >
                    <div class="info">
                      <p class="name-price">
                        <span class="name one-line">{{ i.name }}</span
                        ><span class="sell-price"
                          ><span class="price">{{ i.lowPrice / 100 }}</span
                          >元起</span
                        >
                      </p>
                      <p class="address one-line">
                        {{ i.address }}
                      </p>
                      <p class="feature-tags">
                        <span>座</span><span>杜比全景声厅</span
                        ><span>巨幕厅</span><span>退</span><span>改签</span
                        ><span class="featrue">小吃</span>
                      </p>
                    </div>
                    <div class="distance"></div>
                  </router-link>
                </div>
                <a
                  class="link more-result"
                  >{{ "查看全部" + cinemastotal + "家电影院" }}</a
                >
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import { getLocation, getCityId } from "@/utils/$getlocation.js";
import { mapState } from "vuex";
import http from "../../utils/htttp";
moment.locale(["zh-cn", "zh-tw"]);
import * as moment from "moment";

export default {
  filters: {
    setTime_filter(time) {
      return moment(time * 1000)
        .format("L")
        .replace(/\//g, "-");
    },
  },
  components: {},
  data() {
    return {
      search_value: "",
      closeIcon_toggle: false,
      init_cityId: 0,
      films_arr: [],
      cinemas_arr: [],
      cinemastotal: 0,
      filmstotal: 0,
    };
  },
  methods: {
    closeIconHandler() {
      this.search_value = "";
      this.closeIcon_toggle = false;
      this.films_arr = [];
      this.cinemas_arr = [];
      this.cinemastotal = 0;
      this.filmstotal = 0;
    },
    async inputHandler() {
      if (!this.search_value) {
        this.films_arr = [];
        this.cinemas_arr = [];
        this.cinemastotal = 0;
        this.filmstotal = 0;
      } else {
        this.closeIcon_toggle = true;
        let { films, cinemas, cinemastotal, filmstotal } =
          await this.getSearchResult();
        this.films_arr = films;
        this.cinemas_arr = cinemas;
        this.filmstotal = filmstotal;
        this.cinemastotal = cinemastotal;
      }
    },
    //获取搜索到的结果
    getSearchResult() {
      return new Promise((res, rej) => {
        http("/search", {
          params: {
            cityId: this.cityId||this.init_cityId,
            kw: this.search_value,
          },
        }).then((data) => {
          res({
            films: data.data.films,
            cinemas: data.data.cinemas,
            filmstotal: data.data.filmstotal,
            cinemastotal: data.data.cinemastotal,
          });
        });
      });
    },
  },
  async created() {
    let cityName_res = await getLocation();
    let cityname = cityName_res.addressComponent.city.slice(0, 2);
    let { cityId } = await getCityId(cityname);
    this.init_cityId = cityId;
  },
  mounted() {
    document.querySelector("body").className = "page-search-body";
  },
  computed: {
    ...mapState("city", ["cityId"]),
    no_result(){
        // console.log(this.films_arr.length,this.cinemas_arr.length);
        if((this.films_arr.length>0)&&(this.cinemas_arr.length>0)){
            console.log(1);
            return false
        }else{
            console.log(2);
            return true
        }
    }
  },
};
</script>
<style>
.page-search-body {
  overflow: auto;
}
html {
  font-size: 50px;
}

@media (min-width: 414px) {
  html {
    font-size: 51.5px;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 50px;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 45px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 42px;
  }
}

.download {
  display: none;
}

body {
  user-select: none;
  -webkit-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-overflow-scrolling: touch;
  width: 100%;
  overflow-x: hidden;
  background: #f4f4f4;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

body input,
body textarea {
  appearance: none;
}

section.section-block {
  background: #fff;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

section.section-block + section.section-block {
  margin-top: 0.2rem;
}

section.section-block h3 {
  font-size: 0.3rem;
  margin: 0;
  padding: 0.3rem;
  line-height: 1;
  border-bottom: 1px solid #efefef;
  font-weight: 400;
}

section.section-block h3 a {
  color: #333;
  font-weight: lighter;
}

section.section-block h3 a span {
  margin-right: 0.15rem;
}

section.section-block h3 a .icon {
  display: inline-block;
}

.text-ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@font-face {
  font-family: myfont;
  src: url(//s0.meituan.net/bs/myfe/canary/file/apollo/fonts/myfont/myfont.eot);
  src: url(//s0.meituan.net/bs/myfe/canary/file/apollo/fonts/myfont/myfont.eot#iefix)
      format("eot"),
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/fonts/myfont/myfont.woff)
      format("woff"),
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/fonts/myfont/myfont.ttf)
      format("truetype"),
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/fonts/myfont/myfont.eot)
      format("embedded-opentype");
  font-weight: 400;
  font-style: normal;
}

.icon {
  font-size: 1em;
  line-height: 1em;
  display: inline;
  vertical-align: middle;
}

.icon:before {
  line-height: 1;
  display: inline-block;
  font-family: myfont;
  font-style: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.clearfix:after,
.clearfix:before {
  content: " ";
  display: table;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.commentFlex {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.table-cell {
  display: table;
}

.table-cell .cell {
  display: table-cell;
}

.pos-fixed {
  position: fixed;
}

.pos-static {
  position: static;
}

.pos-abs {
  position: absolute;
}

.text-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.icon-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.icon-2x {
  font-size: 2em;
}

.icon-3x {
  font-size: 3em;
}

.icon-4x {
  font-size: 4em;
}

.icon-5x {
  font-size: 5em;
}

.icon-fw {
  width: 1.28571429em;
  text-align: center;
}

.icon-rotate-30:before {
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.icon-rotate-60:before {
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}

.icon-rotate-90:before {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.icon-rotate-180:before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.icon-rotate-270:before {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
}

.icon-writeanswer:before {
  content: "\EA47";
}

.icon-vip:before {
  content: "\EA46";
}

.icon-venus:before {
  content: "\EA45";
}

.icon-v5:before {
  content: "\EA44";
}

.icon-v4:before {
  content: "\EA43";
}

.icon-v3:before {
  content: "\EA42";
}

.icon-v2:before {
  content: "\EA41";
}

.icon-v1:before {
  content: "\EA40";
}

.icon-ugc-raise:before {
  content: "\EA3F";
}

.icon-ugc-fall:before {
  content: "\EA3E";
}

.icon-timer:before {
  content: "\EA3D";
}

.icon-ticket:before {
  content: "\EA3C";
}

.icon-success:before {
  content: "\EA3B";
}

.icon-star-v2:before {
  content: "\EA3A";
}

.icon-star-half2:before {
  content: "\EA39";
}

.icon-signal:before {
  content: "\EA38";
}

.icon-share:before {
  content: "\EA37";
}

.icon-seat:before {
  content: "\EA36";
}

.icon-rules:before {
  content: "\EA35";
}

.icon-right-ticket:before {
  content: "\EA34";
}

.icon-right-rest:before {
  content: "\EA33";
}

.icon-remove:before {
  content: "\EA32";
}

.icon-remove-sign:before {
  content: "\EA31";
}

.icon-remove-narrow:before {
  content: "\EA30";
}

.icon-remove-circle:before {
  content: "\EA2F";
}

.icon-play-video:before {
  content: "\EA2E";
}

.icon-phone:before {
  content: "\EA2D";
}

.icon-paper:before {
  content: "\EA2C";
}

.icon-ok:before {
  content: "\EA2B";
}

.icon-ok-sign2:before {
  content: "\EA2A";
}

.icon-ok-sign:before {
  content: "\EA29";
}

.icon-ok-circle:before {
  content: "\EA28";
}

.icon-music:before {
  content: "\EA27";
}

.icon-movie:before {
  content: "\EA26";
}

.icon-mars:before {
  content: "\EA25";
}

.icon-local:before {
  content: "\EA24";
}

.icon-highlights:before {
  content: "\EA23";
}

.icon-heart:before {
  content: "\EA22";
}

.icon-heart-empty:before {
  content: "\EA21";
}

.icon-hand:before {
  content: "\EA20";
}

.icon-fail:before {
  content: "\EA1F";
}

.icon-eye:before {
  content: "\EA1E";
}

.icon-edit:before {
  content: "\EA1D";
}

.icon-delete:before {
  content: "\EA1C";
}

.icon-comment:before {
  content: "\EA1B";
}

.icon-collect-tag:before {
  content: "\EA1A";
}

.icon-close:before {
  content: "\EA19";
}

.icon-chevron-up:before {
  content: "\EA18";
}

.icon-chevron-right:before {
  content: "\EA17";
}

.icon-chevron-left:before {
  content: "\EA16";
}

.icon-chevron-down:before {
  content: "\EA15";
}

.icon-caret-up:before {
  content: "\EA14";
}

.icon-caret-right:before {
  content: "\EA13";
}

.icon-caret-left:before {
  content: "\EA12";
}

.icon-caret-down:before {
  content: "\EA11";
}

.icon-badge:before {
  content: "\EA10";
}

.icon-arrow-thin-left:before {
  content: "\EA0F";
}

.icon-arrow-right:before {
  content: "\EA0E";
}

.icon-arrow-down:before {
  content: "\EA0D";
}

.icon-arrow-down-radius:before {
  content: "\EA0C";
}

.icon-arrow-double:before {
  content: "\EA0B";
}

.icon-approved:before {
  content: "\EA0A";
}

.icon-approve:before {
  content: "\EA09";
}

.icon-angle-up:before {
  content: "\EA08";
}

.icon-angle-right:before {
  content: "\EA07";
}

.icon-angle-left:before {
  content: "\EA06";
}

.icon-angle-down:before {
  content: "\EA05";
}

.icon-alert:before {
  content: "\EA04";
}

.icon-add2:before {
  content: "\EA03";
}

.icon-add:before {
  content: "\EA02";
}

.icon-abc:before {
  content: "\EA01";
}

.icon-replay:before {
  content: "\91CD";
}

.icon-pause:before {
  content: "\6682";
}

.icon-play-circle:before {
  content: "\64AD";
}

.icon-home:before {
  content: "\5BB6";
}

.icon-fullscreen:before {
  content: "\5168";
}

.icon-star-half:before {
  content: "\2736";
}

.icon-star-o:before {
  content: "\2606";
}

.icon-star:before {
  content: "\2605";
}

.icon-approved {
  font-size: 1.1em;
}

.hidden-xy {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-item,
.flex-item-1 {
  flex: 1;
}

.flex-item-2 {
  flex: 2;
}

.flex-row {
  flex-flow: row;
  flex-direction: row;
}

.flex-column {
  flex-flow: column;
  flex-direction: column;
}

.flex-left {
  justify-content: flex-start;
}

.flex-right {
  justify-content: flex-end;
}

.flex-center {
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-around {
  justify-content: space-around;
}

.flex-top {
  align-items: flex-start;
}

.flex-middle {
  align-items: center;
}

.flex-bottom {
  align-items: flex-end;
}

.flex-baseline {
  align-items: baseline;
}

.flex-stretch {
  align-items: stretch;
}

.Navbarold {
  height: 1rem;
  background-color: #e54847 !important;
  display: -webkit-box;
  height: 0.76rem;
  overflow: hidden;
  position: relative;
  padding: 6px;
  box-sizing: content-box;
}

.Navbarold .navbar-back {
  width: 36px;
  height: 36px;
  display: block;
  z-index: 999;
}

.Navbarold .navbar-back:after {
  position: absolute;
  width: 13px;
  height: 13px;
  top: 16px;
  left: 12px;
  transform: rotate(45deg);
}

.Navbarold nav {
  width: 100%;
  display: -webkit-box;
}

.Navbarold .navbar-title {
  -webkit-box-flex: 1;
  color: #fff;
  font-size: 18px;
  text-align: center;
  line-height: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.Navbarold .navbar-logo {
  width: 2rem;
  background-size: 37%;
}

.Navbarold .navbar-button {
  position: relative;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.Navbarold .navbar-button .nav-btn {
  text-align: right;
  margin-right: 6px;
}

.Navbarold .navbar-button .nav-btn img {
  width: 17px;
  height: 16px;
}

.nav-list {
  top: 0.96rem;
  right: 0.24rem;
  width: 2.2rem;
  background: #fff;
}

.nav-list .nav-item {
  box-sizing: content-box;
  height: 0.91rem;
}

.nav-list .nav-item a {
  line-height: 0.91rem;
  font-size: 0.3rem;
  letter-spacing: 0;
}

.link {
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: transparent;
}

.link-disable {
  color: #ccc !important;
}

.img {
  border: 0;
  display: inline-block;
  background: #f5f5f5
    url("")
    no-repeat 50%;
  background-size: 50%;
}

.img-circle {
  border-radius: 50%;
}

.img-bordered {
  border: 2px solid red;
}

.img-avatar {
  background-size: 100%;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/avatar.png);
}

.img.avatar-img {
  background: #f5f5f5
    url("")
    no-repeat 50%;
  background-size: 100%;
}

.img.noneBg {
  background: none;
}

.maoyan .banner,
.maoyan .download,
.maoyan .footer,
.maoyan .navbar,
.maoyan .navload {
  display: none;
}

.maoyan .link-color {
  color: #e54847;
}

.maoyan .card-activation .protol .checkbox,
.maoyan .detail .cinema-list .cinema-item .buy-link,
.maoyan .my-checkbox,
.maoyan .my-counter button,
.maoyan .tabs-active {
  color: #e54847;
  border-color: #e54847;
}

.meituan .banner,
.meituan .download,
.meituan .footer,
.meituan .navbar,
.meituan .navload {
  display: none !important;
}

.meituan .btn {
  background: #f90;
}

.meituan .card-activation .protol .checkbox,
.meituan .detail .cinema-list .cinema-item .buy-link,
.meituan .my-checkbox,
.meituan .my-counter button,
.meituan .tabs-active {
  color: #06c1ae;
  border-color: #06c1ae;
}

.meituan .card-activation .protol a,
.meituan .detail .card-activation .sub .price strong,
.meituan .link-color {
  color: #06c1ae;
}

.meituan .list .no-card .btn {
  color: #666;
  border-color: #ccc;
}

.meituan .tab li.active {
  border-bottom-color: #06c1ae;
}

.dianping .banner,
.dianping .download,
.dianping .footer,
.dianping .navbar,
.dianping .navload {
  display: none !important;
}

.dianping .btn {
  background: #f63;
}

.dianping .card-activation .protol .checkbox,
.dianping .detail .cinema-list .cinema-item .buy-link,
.dianping .my-checkbox,
.dianping .my-counter button,
.dianping .tabs-active {
  color: #f63;
  border-color: #f63;
}

.dianping .card-activation .protol a,
.dianping .detail .card-activation .sub .price strong,
.dianping .link-color {
  color: #f63;
}

.dianping .list .no-card .btn {
  color: #666;
  border-color: #ccc;
}

.samsung .banner {
  display: none;
}

.samsung .navbar-btn {
  background: none;
}

.samsung .btn-download,
.samsung .navload,
.samsung nav > ul > li:nth-child(4) {
  display: none;
}

.hide {
  display: none !important;
}

nav.dark,
nav.light {
  background-color: rgba(0, 0, 0, 0.69);
}

nav.dark.image-video .image-wrapper,
nav.light.image-video .image-wrapper {
  position: absolute;
  left: 0.3rem;
  top: 0.21rem;
}

nav.dark.image-video .image-wrapper:before,
nav.light.image-video .image-wrapper:before {
  content: "\64ad";
  color: #fff;
  font-size: 20px;
  font-family: myfont;
  width: 20px;
  height: 20px;
  line-height: 1;
  opacity: 0.7;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

nav.dark.image-info img,
nav.dark.image-video img,
nav.light.image-info img,
nav.light.image-video img {
  width: 1.24rem;
  height: 0.86rem;
}

nav.dark.image-info .image-wrapper,
nav.dark.image-video .image-wrapper,
nav.dark .image-wrapper,
nav.light.image-info .image-wrapper,
nav.light.image-video .image-wrapper,
nav.light .image-wrapper {
  margin: 0;
}

nav.dark img,
nav.light img {
  width: 43px;
  height: 43px;
}

nav.dark .load-title,
nav.light .load-title {
  width: 56%;
}

nav.dark .load-title div,
nav.dark .load-title h2,
nav.light .load-title div,
nav.light .load-title h2 {
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

nav.dark .load-title div,
nav.light .load-title div {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  white-space: normal;
  font-size: 0.26rem;
}

nav.dark .load-title.normal,
nav.light .load-title.normal {
  width: 63% !important;
}

nav.dark .nav-close,
nav.light .nav-close {
  width: 12px !important;
  height: 12px !important;
  background: transparent;
  text-align: center;
  line-height: 0.7rem;
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1rem 0.3rem;
}

nav.dark .btn-open,
nav.light .btn-open {
  float: none !important;
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

nav.light {
  background: #fff !important;
}

nav.light .nav-close {
  width: 9px !important;
  height: 9px !important;
}

nav.light.image-video .image-wrapper .image-video-icon {
  color: #fff;
  background: hsla(0, 0%, 100%, 0.9);
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
  width: 20px;
  height: 20px;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

nav.light.image-video .image-wrapper:before {
  content: "";
}

nav.light .load-title div,
nav.light .load-title h2 {
  color: #333;
}

nav.light img {
  width: 43px;
  height: 43px;
}

nav.light .btn-open {
  background: #f03d37;
  box-shadow: 0 2px 2px 0 #ffd3d3;
  border-radius: 100px;
}

.nav-list {
  position: absolute;
  right: 12px;
  top: 46px;
  width: 110px;
  z-index: 20;
  background-color: #fff;
  box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.1);
}

.nav-list .nav-item {
  height: 45.5px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.nav-list .nav-item:last-child {
  border: none;
}

.nav-list .nav-item a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  color: #333;
  line-height: 45.5px;
}

.image-video .load-title {
  padding-left: 1.2rem;
  min-height: 42px;
}

.navbar {
  position: relative;
  top: 0;
  z-index: 10;
  background-color: #4d68a6 !important;
  display: -webkit-box;
  padding: 6px;
  height: 38px;
  overflow: hidden;
}

.navbar nav {
  width: 100%;
  display: -webkit-box;
}

.navbar-title {
  -webkit-box-flex: 1;
  color: #fff;
  font-size: 18px;
  text-align: center;
  line-height: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.navbar-logo {
  width: 2rem;
  background-size: 37%;
}

.navbar-button {
  position: relative;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navbar-button .nav-btn {
  text-align: right;
  margin-right: 6px;
}

.navbar-button .nav-btn img {
  width: 17px;
  height: 16px;
}

.navbar-placeholder {
  height: 500px;
}

.navbar-back:after {
  content: "";
  top: 16px;
  left: 12px;
  width: 13px;
  height: 13px;
  position: absolute;
  border: 2px solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}

.navbar .city {
  z-index: 999;
  color: #fff;
  display: none;
  line-height: 2.8;
  margin-left: 0.2rem;
  position: relative;
  text-decoration: none;
}

.navbar .city:after {
  content: "";
  top: 15px;
  width: 5px;
  height: 5px;
  margin-left: 0.1rem;
  position: absolute;
  border: 2px solid #fff;
  border-width: 0 0 1px 1px;
  transform: rotate(-45deg);
}

.navbar.fix-bangs {
  height: 44px;
  padding-top: env(safe-area-inset-top);
}

.navbar.fix-bangs nav {
  margin-top: 6px;
}

.navbar.fix-bangs .navbar-logo {
  position: relative;
}

.navbar.fix-bangs .navbar-back:after {
  top: 10px;
  left: 6px;
}

.navload {
  z-index: 999;
  position: relative;
  background: #f7f7f7;
  width: 100%;
}

.navload .link {
  display: block;
  padding: 0.21rem 0.3rem;
  height: 1.24rem;
  box-sizing: border-box;
  min-height: 63px;
}

.navload img {
  float: left;
  width: 0.85rem;
  height: 0.85rem;
}

.navload .load-title {
  float: left;
  margin-left: 0.18rem;
}

.navload .load-title h2 {
  margin: 0;
  font-size: 0.34rem;
  font-weight: 700;
  color: #333;
}

.navload .load-title div {
  font-size: 0.24rem;
  color: #999;
}

.navload .btn-open {
  float: right;
  width: 1rem;
  height: 0.5rem;
  box-sizing: border-box;
  line-height: 0.5rem;
  text-align: center;
  margin-top: 0.12rem;
  display: block;
  font-size: 0.26rem;
  color: #fff;
  background: #f34d41;
  -webkit-border-radius: 0.06rem;
  border-radius: 0.06rem;
}

.toutiao .navbar-logo {
  width: 2.5rem;
  background: url("")
    no-repeat 0;
  background-size: 96px 27px;
}

.toutiao .navbar-back,
.toutiao .navbar-title {
  display: none;
}

.meituan .navbar {
  background: #4d68a6;
}

.samsung .navbar {
  display: block !important;
  background: #4d68a6 !important;
}

.samsung .navbar-logo {
  background: none;
}

.jinli .navload,
.samsung .navload {
  display: none;
}

.footer-misc {
  text-align: center;
}

.footer-misc .copyright a {
  color: #df3434;
  text-decoration: underline;
}

.footer-misc .icp a {
  font-size: 0.2rem;
  color: #9e9e9e;
  text-decoration: none;
}

.footer-misc .sankuai a {
  font-size: 0.25rem;
  color: #9e9e9e;
  text-decoration: none;
}

.footer {
  text-align: center;
}

.footer ul {
  list-style: none;
  font-size: 90%;
  padding: 0;
  white-space: nowrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -moz-box;
}

.footer ul li {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -moz-box-flex: 1;
  border-right: 1px solid #ccc;
}

.footer ul li a {
  color: #666;
  display: block;
  text-decoration: none;
}

.footer ul li:last-child {
  border-right: 0;
}

.footer .btn-group {
  text-align: left;
  padding: 0 0.3rem;
}

.footer .btn-group .btn {
  margin: 0.2rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.25rem;
}

.footer .btn-group .btn-login {
  background-color: #75c60d;
}

.footer .btn-group .btn-signup {
  color: #666;
  background-color: #fff;
}

.footer .btn-group .btn-city {
  color: #666;
  float: right;
  background: transparent;
  border: 1px solid #e0dbd7;
}

.footer .btn-group .user {
  display: inline-block;
}

.footer .btn-group .username {
  padding: 0.3rem;
  display: inline-block;
}

.footer .btn-group .user .link {
  color: #e54847;
}

.footer .btn-group .user-action {
  display: inline-block;
}

.footer .friendly-links {
  margin: 30px 0 14px;
}

.footer .friendly-links a {
  color: #e54847;
  margin: 0 5px;
}

.footer .friendly-links .seg {
  display: inline-block;
  border-left: 1px solid #d8d8d8;
  height: 14px;
  margin: 0 2px;
  vertical-align: middle;
}

.swipe {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
}

.swipe,
.swipe .navload {
  background-color: transparent;
}

.swipe-content {
  width: 100%;
  height: 100%;
  margin: auto;
  position: relative;
}

.swipe-content .swipe-left-nav,
.swipe-content .swipe-right-nav {
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 6em;
  line-height: 0;
  position: absolute;
  text-shadow: 0 2px 2px #222;
  top: 48%;
  transition: all 0.2s ease-out;
  z-index: 1;
}

@media (max-width: 768px) {
  .swipe-content .swipe-left-nav,
  .swipe-content .swipe-right-nav {
    font-size: 3.4em;
  }
}

@media (min-width: 768px) {
  .swipe-content .swipe-left-nav:hover,
  .swipe-content .swipe-right-nav:hover {
    color: #337ab7;
  }
}

.swipe-content .swipe-left-nav {
  left: 0;
}

.swipe-content .swipe-left-nav:before {
  content: "‹";
  padding: 50px 15px;
}

.swipe-content .swipe-right-nav {
  right: 0;
}

.swipe-content .swipe-right-nav:before {
  content: "›";
  padding: 50px 15px;
}

.swipe-slides {
  height: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.swipe-slide {
  opacity: 0;
  position: absolute;
  transition: all 0.45s ease-out;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swipe-slide.left,
.swipe-slide.right {
  left: 0;
  top: 0;
}

.swipe-slide.left {
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}

.swipe-slide.center {
  position: relative;
  opacity: 1;
}

.swipe-slide.right {
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}

.swipe-bullets {
  bottom: -3px;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1000;
}

.swipe-bullets .swipe-bullets-container {
  margin: 0;
  padding: 0;
}

.swipe-bullets .swipe-bullet {
  box-shadow: 0 1px 0 #222;
  cursor: pointer;
  display: inline-block;
  margin: 0 5px;
  padding: 5px;
  background: hsla(0, 0%, 100%, 0.6);
}

@media (max-width: 768px) {
  .swipe-bullets .swipe-bullet {
    margin: 0 3px;
    padding: 2px;
    border-radius: 3px;
    background: hsla(0, 0%, 100%, 0.6);
  }
}

.swipe-bullets .swipe-bullet.active {
  background: #f34d41;
}

.swipe-thumbnails {
  background: #fff;
  overflow: hidden;
  padding-top: 10px;
}

.swipe-thumbnails .swipe-thumbnails-container {
  cursor: pointer;
  text-align: center;
  transition: all 0.45s ease-out;
  white-space: nowrap;
}

.swipe-thumbnail {
  display: inline-block;
  padding-right: 10px;
}

.swipe-thumbnail img {
  border: 4px solid transparent;
  transition: border 0.3s ease-out;
  vertical-align: middle;
  width: 100px;
}

@media (max-width: 768px) {
  .swipe-thumbnail img {
    border: 3px solid transparent;
    width: 75px;
  }
}

.swipe-thumbnail.active img {
  border: 4px solid #337ab7;
}

@media (max-width: 768px) {
  .swipe-thumbnail.active img {
    border: 3px solid #337ab7;
  }
}

.swipe-bullets.light .swipe-bullet {
  background: #e8e8e8 !important;
  box-shadow: none;
}

.swipe-bullets.light .swipe-bullet.active {
  background: #666 !important;
}

.stickyWrapper .sticky {
  z-index: 99;
}

@media (min-width: 500px) {
  .stickyWrapper .sticky {
    width: 18% !important;
    min-width: 430px;
    box-shadow: 0 0 2rem #000;
    left: 50% !important;
    transform: translate3d(-50%, 0, 0) !important;
  }
}

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

body {
  font-family: PingFangSC-Regular, Hiragino Sans GB, sans-serif, Helvetica, 宋体;
  -webkit-touch-callout: inherit;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body.gray {
  background-color: #f0f0f0;
}

body.white {
  background-color: #fff;
}

.line-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.clearfix:after {
  display: table;
  content: " ";
  clear: both;
}

a,
img {
  display: block;
}

img {
  width: 100%;
}

a,
div {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button,
input,
select,
textarea {
  outline: none;
  resize: none;
}

.arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  border: 1px solid #ccc;
  border-top: none;
  border-left: none;
  position: relative;
  left: -2px;
}

.arrow.down {
  margin: 0 5px !important;
  transform: rotate(45deg) translateY(-3px);
}

.arrow.up {
  margin-left: 10px !important;
  transform: rotate(-135deg) translateY(-3px);
}

.flex {
  flex: 1;
}

.grid-#1 {
  font-size: 0;
}

.grid-#1 > div {
  width: 100%;
  display: inline-block;
  font-size: medium;
}

.grid-#2 {
  font-size: 0;
}

.grid-#2 > div {
  width: 50%;
  display: inline-block;
  font-size: medium;
}

.grid-#3 {
  font-size: 0;
}

.grid-#3 > div {
  width: 33.33333333%;
  display: inline-block;
  font-size: medium;
}

.grid-#4 {
  font-size: 0;
}

.grid-#4 > div {
  width: 25%;
  display: inline-block;
  font-size: medium;
}

.grid-#5 {
  font-size: 0;
}

.grid-#5 > div {
  width: 20%;
  display: inline-block;
  font-size: medium;
}

.grid-#6 {
  font-size: 0;
}

.grid-#6 > div {
  width: 16.66666667%;
  display: inline-block;
  font-size: medium;
}

.grid-#7 {
  font-size: 0;
}

.grid-#7 > div {
  width: 14.28571429%;
  display: inline-block;
  font-size: medium;
}

.grid-#8 {
  font-size: 0;
}

.grid-#8 > div {
  width: 12.5%;
  display: inline-block;
  font-size: medium;
}

.grid-#9 {
  font-size: 0;
}

.grid-#9 > div {
  width: 11.11111111%;
  display: inline-block;
  font-size: medium;
}

.grid-#10 {
  font-size: 0;
}

.grid-#10 > div {
  width: 10%;
  display: inline-block;
  font-size: medium;
}

.grid-#11 {
  font-size: 0;
}

.grid-#11 > div {
  width: 9.09090909%;
  display: inline-block;
  font-size: medium;
}

.grid-#12 {
  font-size: 0;
}

.grid-#12 > div {
  width: 8.33333333%;
  display: inline-block;
  font-size: medium;
}

.box-flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.box-flex.column,
.inline-flex.column {
  flex-direction: column;
}

.box-flex.column.middle,
.inline-flex.column.middle {
  justify-content: center;
}

.box-flex.column.top,
.inline-flex.column.top {
  justify-content: flex-start;
}

.box-flex.column.bottom,
.inline-flex.column.bottom {
  justify-content: flex-end;
}

.box-flex.column.around,
.inline-flex.column.around {
  justify-content: space-around;
}

.box-flex.column.between,
.inline-flex.column.between {
  justify-content: space-between;
}

.box-flex.wrap,
.inline-flex.wrap {
  flex-wrap: wrap;
}

.box-flex:not(.column).middle,
.inline-flex:not(.column).middle {
  align-items: center;
}

.box-flex:not(.column).top,
.inline-flex:not(.column).top {
  align-items: flex-start;
}

.box-flex:not(.column).bottom,
.inline-flex:not(.column).bottom {
  align-items: flex-end;
}

.position-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.text-middle:before {
  content: "";
  display: inline-block;
  height: 100%;
}

.text-middle:before,
.text-middle > * {
  vertical-align: middle;
}

[data-modal-toggle] {
  cursor: pointer;
}

ol {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

ol li {
  list-style: initial;
  list-style-position: inside;
}

ol.decimal li {
  list-style-type: decimal;
}

select {
  border: none;
  background-color: #fff;
}

.disable-btn {
  background-color: #ccc !important;
  border: 0 !important;
  color: #fff;
}

.awating-btn {
  background-color: #ffc2ad !important;
  border: 0 !important;
  color: #fff !important;
}

.primary-btn-sm {
  font-size: 14px;
  height: 30px;
  line-height: 30px;
}

.primary-btn-md,
.primary-btn-sm {
  min-width: 60px;
  font-family: inherit;
  text-align: center;
  display: inline-block;
  padding: 0 5px;
  box-sizing: border-box;
  border: 0;
  background-color: #f63;
  color: #fff;
  border-radius: 2px;
}

.primary-btn-md {
  font-size: 16px;
  height: 39px;
  line-height: 39px;
}

.primary-btn-lg {
  min-width: 60px;
  font-family: inherit;
  text-align: center;
  display: inline-block;
  padding: 0 5px;
  box-sizing: border-box;
  border: 0;
  background-color: #f63;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  height: 44px;
  line-height: 44px;
}

.white-btn-sm {
  font-size: 14px;
  height: 30px;
  line-height: 30px;
}

.white-btn-md,
.white-btn-sm {
  min-width: 60px;
  font-family: inherit;
  text-align: center;
  display: inline-block;
  padding: 0 5px;
  box-sizing: border-box;
  border: 1px solid #bbb;
  background-color: #fff;
  color: #666;
  border-radius: 2px;
}

.white-btn-md {
  font-size: 16px;
  height: 39px;
  line-height: 39px;
}

.white-btn-lg {
  min-width: 60px;
  font-family: inherit;
  text-align: center;
  display: inline-block;
  padding: 0 5px;
  box-sizing: border-box;
  border: 1px solid #bbb;
  background-color: #fff;
  color: #666;
  font-size: 18px;
  border-radius: 5px;
  height: 44px;
  line-height: 44px;
}

.single-though-btn {
  display: block;
  margin: 0 15px;
}

.ui-image-viewer-container {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000;
  z-index: 1000;
  display: none;
}

.ui-image-viewer-container .page {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  overflow: hidden;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  -ms-box-align: center;
  -ms-flex-pack: justify;
}

.ui-image-viewer-container .page.next {
  -webkit-transform: translateX(105%);
  -ms-transform: translateX(105%);
}

.ui-image-viewer-container .page.prev {
  -webkit-transform: translateX(-105%);
  -ms-transform: translateX(-105%);
}

.ui-image-viewer-container .page.next2 {
  -webkit-transform: translateX(210%);
  -ms-transform: translateX(210%);
}

.ui-image-viewer-container .page.prev2 {
  -webkit-transform: translateX(-210%);
  -ms-transform: translateX(-210%);
}

.ui-image-viewer-container .page.current {
  z-index: 2;
}

.ui-image-viewer-container .page img {
  display: block;
  width: 100%;
  height: auto;
}

.ui-image-viewer-container .page-number-container {
  z-index: 2;
  position: absolute;
  color: #fff;
  font-size: 0.4rem;
  left: 0;
  top: 0;
  text-align: center;
  width: 100%;
  margin-top: 0.3rem;
}

.ui-image-viewer-container .page-number {
  padding: 0.2rem;
  background: rgba(0, 0, 0, 0.5);
}

.footerTab {
  background-image: linear-gradient(
    180deg,
    #e1e1e1,
    #e1e1e1 50%,
    transparent 0
  );
  background-position: 0 0;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #fff;
  height: 50px;
  display: -webkit-box;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 12px;
  z-index: 998;
  padding: 0;
}

.footerTab .footerItem {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  -webkit-box-flex: 1;
  text-align: center;
  line-height: 50px;
  height: 50px;
  display: block;
}

.footerTab .footerItem .tabIcon {
  vertical-align: middle;
  width: 28px;
  height: 31px;
  margin: 0 auto;
}

.footerTab .footerItem .tabIcon.index {
  background-position: 0 -46px;
  background-size: 112px;
}

.footerTab .footerItem .tabIcon.index,
.footerTab .footerItem .tabIcon.meishi {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem .tabIcon.meishi {
  background-position: -45px -142px;
  background-size: 110px;
}

.footerTab .footerItem .tabIcon.wanle {
  background-position: -72px -126px;
  background-size: 100px;
}

.footerTab .footerItem .tabIcon.waimai,
.footerTab .footerItem .tabIcon.wanle {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem .tabIcon.waimai {
  background-position: -1px -145px;
  background-size: 111px;
}

.footerTab .footerItem .tabIcon.movie {
  background-position: -77px -43px;
  background-size: 106px;
}

.footerTab .footerItem .tabIcon.movie,
.footerTab .footerItem .tabIcon.myinfo {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem .tabIcon.myinfo {
  background-position: -45px -47px;
  background-size: 113px;
}

.footerTab .footerItem .tabText {
  font-size: 12px;
  -webkit-transform: scale(0.92);
  transform: scale(0.92);
  line-height: 16px;
  text-decoration: none;
}

.footerTab .footerItem.on .tabIcon.index {
  background-position: 0 1px;
  background-size: 112px;
}

.footerTab .footerItem.on .tabIcon.index,
.footerTab .footerItem.on .tabIcon.meishi {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem.on .tabIcon.meishi {
  background-position: -45px -97px;
  background-size: 110px;
}

.footerTab .footerItem.on .tabIcon.wanle {
  background-position: -72px -87px;
  background-size: 100px;
}

.footerTab .footerItem.on .tabIcon.waimai,
.footerTab .footerItem.on .tabIcon.wanle {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem.on .tabIcon.waimai {
  background-position: -1px -99px;
  background-size: 111px;
}

.footerTab .footerItem.on .tabIcon.movie {
  background-position: -76px -1px;
  background-size: 106px;
}

.footerTab .footerItem.on .tabIcon.movie,
.footerTab .footerItem.on .tabIcon.myinfo {
  background-image: url();
  background-repeat: no-repeat;
}

.footerTab .footerItem.on .tabIcon.myinfo {
  background-position: -45px -2px;
  background-size: 113px;
}

.footerTab .footerItem.on .tabText {
  color: #39b54d;
}

.mb-outline-b {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-bottom-outline.png)
    0 bottom repeat-x;
}

.mb-outline-t {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-top-outline.png)
    0 top repeat-x;
}

.mb-outline-tb {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-top-outline.png)
      0 top repeat-x,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-bottom-outline.png)
      0 bottom repeat-x;
}

.mb-line-b {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-bottom.png)
    0 bottom repeat-x;
}

.mb-line-t {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-top.png)
    0 top repeat-x;
}

.mb-line-tb {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-top.png)
      0 top repeat-x,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-bottom.png)
      0 bottom repeat-x;
}

.mb-line-l {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-left.png)
    left 0 repeat-y;
}

.mb-line-r {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-right.png)
    right 0 repeat-y;
}

.mb-line-lr {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-left.png)
      left 0 repeat-y,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-right.png)
      right 0 repeat-y;
}

.mb-line-all {
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-top.png)
      0 top repeat-x,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-right.png)
      right 0 repeat-y,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-x-bottom.png)
      0 bottom repeat-x,
    url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/repeat-y-left.png)
      left 0 repeat-y;
}

@media (-webkit-min-device-pixel-ratio: 2),
  (-webkit-min-device-pixel-ratio: 3) {
  .mb-line-all,
  .mb-line-b,
  .mb-line-l,
  .mb-line-lr,
  .mb-line-r,
  .mb-line-t,
  .mb-line-tb,
  .mb-outline-b,
  .mb-outline-t,
  .mb-outline-tb {
    background-size: 1px 1px;
  }
}

body {
  font-size: 14px;
  color: #777;
}

strong {
  color: red;
}

::-webkit-scrollbar {
  height: 0 !important;
}

.hidden {
  display: none !important;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1turn);
  }
}

.loader-wrap {
  text-align: center;
  line-height: 40px;
}

.loader-wrap .loader-img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base/base64/loading.png);
  background-repeat: no-repeat;
  background-size: 20px;
  animation: loader 1.2s linear;
  animation-iteration-count: infinite;
}

.type-label {
  display: inline-flex;
  font-size: 8.76px;
  font-weight: 700;
  line-height: 15px;
  height: 15px;
  border: 1px solid #b9b7c5;
  border-radius: 2px;
  box-sizing: border-box;
}

.type-label > div {
  padding: 0 3px;
}

.type-label > div > span {
  display: inline-block;
}

.type-label .three-d {
  background-color: #b9b7c5;
  color: #fff;
}

.type-label .imax {
  color: #b9b7c5;
}

.discount-label {
  display: inline-flex;
}

.discount-label:before {
  content: "";
  display: block;
  width: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(2px);
}

.discount-label > .after {
  display: block;
  color: #fff;
  padding: 0.5px 4px 0 2px;
  line-height: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 0 2px 2px 0;
  font-size: 10px;
  font-weight: 700;
}

.discount-label.normal:before {
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base64/normal-arrow.jpg);
}

.discount-label.normal > .after {
  background-color: #ff941a;
}

.discount-label.mew:before {
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/dpmmweb/img/base64/mew-arrow.jpg);
}

.discount-label.mew > .after {
  background-color: #ed1e24;
}

.discount-label-text {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
}

.more {
  line-height: 40px;
  height: 40px;
  text-align: center;
}

.triangle-label {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 37px;
  height: 37px;
  line-height: 1;
  background-color: #6bc87a;
  color: #fff;
  transform: rotate(45deg);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 1px;
}

.triangle-label:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: bottom;
}

.default-img-bg {
  background-color: #e1e1e1;
  background-size: 100% 100%;
}

.toast-box {
  max-width: 210px !important;
}

.alert_content {
  color: #333;
}

.mew-desc {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 18px;
  z-index: -1;
}

.mew-desc img {
  width: 20px;
  display: inline-block;
  vertical-align: top;
}

.mew-desc span {
  color: #c1c0c5;
  font-size: 12px;
}

.util-m-share-container {
  display: none;
}

.wish-toast {
  width: 100px;
  border-radius: 10px;
  background-color: rgba(17, 17, 17, 0.7);
  color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: -100px auto 0;
  text-align: center;
  padding: 10px;
}

.wish-toast .toast-bg {
  display: inline-block;
  width: 50px;
  margin: 20px 0 12px;
}

.wish-toast .tips {
  display: block;
}

.dpmweb .navbar {
  height: 50.5px;
  color: #fff;
  background: #f63;
  border-bottom: 1px solid #f63;
  display: -webkit-box;
  display: -ms-flexbox;
  position: relative;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.dpmweb .navbar .nav-wrap-left,
.dpmweb .navbar .nav-wrap-right {
  height: 50.5px;
  line-height: 50.5px;
}

.dpmweb .navbar .nav-wrap-right {
  width: 52.5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dpmweb .navbar .nav-wrap-right img {
  width: 17px;
  height: 16px;
  margin-right: 12px;
}

.dpmweb .navbar .h1.nav-header,
.dpmweb .navbar span.nav-header {
  display: block;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  line-height: 50px;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.dpmweb .fix-bangs .h1.nav-header,
.dpmweb .fix-bangs span.nav-header {
  line-height: 44px;
  font-weight: 800;
}

.dpmweb .nav-wrap-left a.back {
  height: 50px;
  width: 22.5px;
  line-height: 50px;
  padding: 0 15px;
}

.dpmweb .icon-back {
  display: inline-block;
  width: 22.5px;
  height: 22.5px;
  vertical-align: middle;
  position: relative;
}

.dpmweb .icon-back:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

.dpmweb .fix-bangs {
  height: 44px;
}

.dpmweb .fix-bangs .nav-header {
  line-height: 44px;
  font-weight: 800;
}

.dpmweb .fix-bangs .icon-back {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  position: relative;
}

.dpmweb .fix-bangs .icon-back:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

.dpmweb .nav-list {
  display: none;
  position: absolute;
  top: 46px;
  right: 12px;
  width: 110px;
  background-color: #fff;
  z-index: 20;
  box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.1);
}

.dpmweb .nav-list .nav-item {
  height: 45.5px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.dpmweb .nav-list .nav-item:last-child {
  border-bottom: none;
}

.dpmweb .nav-list .nav-item a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  line-height: 45.5px;
}

.inservice .cinema-list .list-wrap .title-block .label-block > div {
  font-size: 12px;
}

.inservice .body .movie-detail .poster-bg {
  filter: blur(19px);
  -webkit-filter: blur(19px);
}

.inservice
  .close-tab
  .tab-content
  .page.special
  #special-content
  .item-list
  .item {
  font-size: 12px;
}

.inservice .result .cinema .feature-tags span {
  font-size: 12px !important;
}

.inservice body.mip-i-android-scroll,
.inservice html.mip-i-android-scroll {
  height: 100% !important;
}

.inservice .fixedNav #showDays,
.inservice .fixedNav .nav-wrap {
  top: 44px;
}

.inservice .close-tab .tab-content .page.region #region-list {
  height: 380px;
}

.inservice .seat-block .selected-block .selected-seat-item {
  width: 0.822rem !important;
  height: 0.366rem !important;
  background-size: 0.822rem 0.366rem !important;
}

h3 {
  font-weight: 400;
}

h3,
p {
  margin: 0;
}

.one-line {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.search-wrapper {
  background-color: #f5f5f5;
  height: 100vh;
}

.result-wrapper {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.search-header {
  display: flex;
  align-items: center;
  padding: 0.16rem 0 0.16rem 0.2rem;
  background-color: #f5f5f5;
  border-bottom: 0.02rem solid #e5e5e5;
  position: relative;
  z-index: 1;
}

.search-header .input-wrapper {
  padding: 0 0.2rem;
  border: 0.02rem solid #e6e6e6;
  border-radius: 0.1rem;
  background-color: #fff;
  flex-grow: 1;
}

.search-header .page-search-search-icon {
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.12rem;
  float: left;
  position: relative;
  top: 0.12rem;
}

.search-header .page-search-search-input {
  flex: 1;
  border: none;
  font-size: 0.26rem;
  color: #333;
  line-height: 0.4rem;
  padding: 0.08rem 0;
  width: calc(100% - 0.8rem);
}

.search-header .del-input {
  width: 0.3rem;
  height: 0.3rem;
  float: right;
  position: relative;
  top: 0.12rem;
}

.search-header .cancel {
  height: 0.6rem;
  line-height: 0.6rem;
  padding: 0 0.2rem;
  font-size: 0.32rem;
  color: #f03d37;
}

.search-history {
  background-color: #fff;
}

.search-history .history-item {
  margin-left: 0.3rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 0.02rem solid #e5e5e5;
  line-height: 0.88rem;
  align-items: center;
}

.search-history .history-item:last-child {
  border-bottom: none;
}

.search-history .history-item .history-icon {
  width: 0.3rem;
  height: 0.3rem;
  margin-right: 0.2rem;
  background: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/recent-search.png)
    no-repeat;
  background-size: contain;
  display: inline-block;
  flex: 0 0 auto;
}

.search-history .history-item .word {
  color: #333;
  font-size: 0.3rem;
  flex: 1 1 auto;
  display: inline-block;
}

@media only screen and (max-device-width: 320px) {
  .search-history .history-item .word {
    max-width: 4.6rem;
  }
}

.search-history .history-item .del-word {
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/delete.png);
  background-repeat: no-repeat;
  background-position: 0.3rem;
  background-size: 0.2rem;
  align-self: center;
  padding: 0.34rem 0.3rem;
  width: 0.2rem;
  height: 0.2rem;
  flex: 0 0 auto;
}

.hot-search {
  padding: 0 0 0.16rem 0.3rem;
  background-color: #fff;
  position: relative;
  top: -0.02rem;
}

.hot-search h3 {
  border-top: 0.02rem solid #e5e5e5;
  padding-top: 0.34rem;
  font-size: 0.3rem;
  color: #666;
}

.hot-search .hot-movies-wrap {
  margin-top: 0.3rem;
  padding-right: 0.3rem;
  overflow: hidden;
}

.hot-search .hot-movies-wrap .hot-movie {
  float: left;
  padding: 0.12rem 0.24rem;
  margin: 0 0.24rem 0.24rem 0;
  background-color: #f5f5f5;
  border-radius: 0.08rem;
  font-size: 0.24rem;
  color: #333;
}

.result-list {
  padding-left: 0.3rem;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.result {
  margin-bottom: 0.2rem;
  background-color: #fff;
}

.result .everyone-search {
  color: #999;
  font-size: 0.26rem;
  padding: 0.12rem 0.3rem;
  background-color: #f5f5f5;
}

.result .everyone-search + .list {
  border-top: none;
}

.result .no-related-result {
  font-size: 0.3rem;
  color: #999;
  height: 0.88rem;
  line-height: 0.88rem;
  text-align: center;
}

.result h3 {
  font-size: 0.3rem;
  color: #999;
  padding: 0.18rem 0.3rem;
}

.result .list {
  padding-left: 0.3rem;
  border-top: 0.02rem solid #e6e6e6;
}

.result .cell,
.result .list {
  border-bottom: 0.02rem solid #e6e6e6;
}

.result .cell:last-child {
  border-bottom: none;
}

.result .more-result {
  font-size: 0.3rem;
  color: #ef4238;
  line-height: 0.88rem;
  height: 0.88rem;
  text-align: center;
}

.result .movie {
  padding: 0.24rem 0;
  min-height: 1.8rem;
}

.result .movie .name-score {
  font-size: 0.32rem;
  color: #222;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.04rem;
}

.result .movie .name-score .name {
  display: flex;
  align-items: center;
  flex-grow: 1;
  max-height: 0.48rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.result .movie .name-score .name .one-line {
  display: inline-block;
  font-weight: 700;
  font-size: 0.34rem;
}

.result .movie .name-score .score,
.result .movie .name-score .wish {
  color: #fa0;
  font-size: 0.2rem;
  flex-shrink: 0;
  padding-left: 0.1rem;
}

.result .movie .name-score .num {
  font-size: 0.32rem;
}

.result .movie .name-score .no-score {
  font-size: 0.28rem;
  color: #666;
  flex-shrink: 0;
}

.result .movie .detail-section {
  position: relative;
}

.result .movie .detail-section .detail-items {
  flex-grow: 1;
  overflow: hidden;
  padding-right: 0.2rem;
  margin-right: 0.96rem;
  min-height: 0.54rem;
}

.result .movie .detail-section .catogary,
.result .movie .detail-section .ename,
.result .movie .detail-section .release {
  font-size: 0.26rem;
  color: #666;
  margin-top: 0.04rem;
}

.result .movie .detail-section .btn,
.result .movie .detail-section .buy-btn {
  width: 1.08rem;
  height: 0.56rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  white-space: nowrap;
  font-size: 0.26rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0.27rem;
  text-align: center;
  right: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.result .movie .detail-section .sale {
  background-color: #f03d37;
}

.result .movie .detail-section .presale {
  background-color: #3c9fe6;
}

.result .movie .detail-section .toggle-wish-btn[data-wishst="0"] {
  background-color: #faaf00;
  border: none;
  color: #fff;
  box-shadow: 0 0.04rem 0.04rem 0 rgba(250, 175, 0, 0.15);
}

.result .movie .detail-section .toggle-wish-btn[data-wishst="1"] {
  background-color: #fff;
  border: 0.02rem solid #eaeaea;
  color: #666;
  box-shadow: 0 0.04rem 0.04rem 0 rgba(0, 0, 0, 0.05);
}

.result .movie .poster {
  background-color: #eee;
  width: 1.28rem;
  height: 1.8rem;
  float: left;
  margin-right: 0.2rem;
}

.result .movie .info {
  margin-right: 0.3rem;
  margin-top: 0.02rem;
}

.result .cinema {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.3rem 0.3rem 0;
}

.result .cinema .info {
  flex: 1;
  overflow: hidden;
}

.result .cinema .name-price {
  font-size: 0.32rem;
  color: #000;
  margin-bottom: 0.12rem;
  display: flex;
}

.result .cinema .sell-price {
  font-size: 0.22rem;
  color: #999;
  white-space: nowrap;
  margin-left: 0.2rem;
}

.result .cinema .price {
  font-size: 0.34rem;
  color: #ef4238;
}

.result .cinema .address {
  font-size: 0.26rem;
  color: #999;
}

.result .cinema .feature-tags {
  margin-top: 0.14rem;
}

.result .cinema .feature-tags span {
  border: 0.02rem solid #589daf;
  color: #589daf;
  position: relative;
  display: inline-block;
  padding: 0 0.06rem;
  height: 0.3rem;
  line-height: 0.3rem;
  border-radius: 0.04rem;
  font-size: 0.24rem !important;
  margin-right: 0.14rem;
}

.result .cinema .feature-tags span.featrue {
  color: #f90;
  border-color: #f90;
}

.result .cinema .distance {
  font-size: 0.26rem;
  color: #999;
}

.version {
  background-size: contain;
  background-repeat: no-repeat;
  height: 0.28rem;
  margin-left: 0.1rem;
  display: inline-block;
}

.version.v2d.imax {
  width: 0.86rem;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/v2dimax.png);
}

.version.v3d {
  width: 0.34rem;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/v3d.png);
}

.version.v3d.imax {
  width: 0.86rem;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/apollo/images/search/img/base64/v3dimax.png);
}

.no-result {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -20%;
}

.no-result img {
  width: 1.74rem;
  height: 2rem;
  margin-bottom: 0.32rem;
}

.no-result p {
  font-size: 0.32rem;
  color: #999;
}
</style>